﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SkeletonNET.Common.Setup;
using Microsoft.Practices.ServiceLocation;
using Microsoft.Practices.Unity;

namespace SkeletonNET.Common.Logging
{
    public class SetupLogging : ISetup
    {
        void ISetup.Setup()
        {
            ServiceLocator.Current
                .GetInstance<IUnityContainer>()
                .RegisterType<LogHandler, ToConsoleHandler>();
        }
    }
}
